package lms.entity;

/**
 * @description: 管理员登录账号实体类
 * @author: Grape_Pip
 * @time: 2021/06/19
 */
public class Admin {
    /**
     * 管理员编号
     */
    private int managerId;
    /**
     * 管理员账号
     */
    private String managerName;
    /**
     * 管理员密码
     */
    private String managerpPwd;


    public Admin() {
    }

    public Admin(String managerName, String managerpPwd) {
        this.managerName = managerName;
        this.managerpPwd = managerpPwd;
    }

    public Admin(int managerId, String managerName, String managerpPwd) {
        this.managerId = managerId;
        this.managerName = managerName;
        this.managerpPwd = managerpPwd;
    }

    public int getManagerId() {
        return managerId;
    }

    public void setManagerId(int managerId) {
        this.managerId = managerId;
    }

    public String getManagerName() {
        return managerName;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName;
    }

    public String getManagerpPwd() {
        return managerpPwd;
    }

    public void setManagerpPwd(String managerpPwd) {
        this.managerpPwd = managerpPwd;
    }

    @Override
    public String toString() {
        return
                "管理员编号：" + managerId +
                "管理员用户名：'" + managerName + '\'' +
                "管理员密码'" + managerpPwd + '\''
                ;
    }
}
